package model;

public class Book {

	private int idBook;
	private String title;
	private String author;
	private Integer publishedYear;
	private Double gradeAverage;
	private String titleWikipedia;
	
	

	public Book(){
		
	}


	public int getIdBook() {
		return idBook;
	}


	public void setIdBook(int idBook) {
		this.idBook = idBook;
	}
	
	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getAuthor() {
		return author;
	}


	public void setAuthor(String author) {
		this.author = author;
	}


	public Integer getPublishedYear() {
		return publishedYear;
	}


	public void setPublishedYear(Integer publishedYear) {
		this.publishedYear = publishedYear;
	}
	

	public Double getGradeAverage() {
		return gradeAverage;
	}


	public void setGradeAverage(Double gradeAverage) {
		this.gradeAverage = gradeAverage;
	}


	public String getTitleWikipedia() {
		return titleWikipedia;
	}


	public void setTitleWikipedia(String titleWikipedia) {
		this.titleWikipedia = titleWikipedia;
	}
	
	public String displayString() {
        return title + " - " + author + " - " + publishedYear;
    }
}
